import numpy as np 
from scipy.optimize import linprog

c = np.array([1,-2])
A_ub = np.array([[-2,-1],[-1,2],[3,-1]])
# print(A_ub)
b_ub = np.array([-2,4,3])
result = linprog(c,A_ub=A_ub,b_ub=b_ub)
print(result)
